<?php

class SimpleRecord_Revision {
	var $changeTime;
	var $content;
	
	function SimpleRecord_Revision($content, $changeTime) {
		$this->content = $content;
		$this->changeTime = $changeTime;
	}
	
	function getContent() {
		return $this->content;
	}
	
	function getChangeTime($format = null) {
		if(is_string($format))
			return date($format, $this->changeTime);
		else
			return $this->changeTime;
	}
}

?>